import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBTuiGuangYuanSubPage extends StatelessWidget {
  final String imageStr;
  final String titleStr;

  const YBTuiGuangYuanSubPage({Key key, this.imageStr, this.titleStr}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Column(
        children: [
          Container(
            child: Image.asset(YBImageStyle.getImagePath(imageStr)??"",width: 48,height: 48,),
          ),
          Container(
            height: 12,
          ),
          Container(
            child: Text(titleStr??"",style: YBTextStyle.xieGangQingNianTuiGuangYuanText,),
          ),
        ],
      ),
    );
  }
}
